And the last video we have seen that we can down sample and aggregate our data with the ACT method and
we can actually get open high low and close prices in one line of code by using the ACT method.
However there's also a special method for this.
The surprise open high low close method or short o h let's c.
So first of all we import pandas and again we are working with the stocks data set.
So here we have the first five rows.
Again we have fed daily data.
And let's assume that you want to down sample the data to NGL frequency and we want to have the annual
open high low and close prices.
Then we can do this same with the reasonable method and passing a to the rule parameter.
And as a matter of taste are superior to the kind parameter.
And then we change here.
The open high low close method and this looks actually pretty familiar.
So we have a multi and next service on the order and next level the stock takes us.
And for each and every stock we have open high low close prices so that was the video on the open high
low close method and see us on the next video by.